<template>
  <div id="deng">
    <p id="top">
      <span class="left">
          <span @click="prev()">&lt;</span>
      <router-link to="/DAccountLogin" class="AAA">账号登录</router-link>
      </span>
    
      <router-link to="/Dengphone" class="BBB">邮箱登录</router-link>
    </p>
    <hr />
    
    <router-view />
  </div>
</template>

<script>
export default {
  methods: {
    prev() {
      this.$router.push("/Home");
    },
    
  },
};
</script>

<style scoped>
 p{
  height: 0.5rem;
  line-height: 0.5rem;
  color: gray;
  font-size: 0.20rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
 padding: 0rem 0.2rem 0rem 0.1rem;
}
#top-center{
  line-height: 0.5rem;
  display: block;
  margin: auto;
  color: gainsboro;
  font-size:0.16rem;
}
.left a{
margin-left: 0.15rem;
}
a {
  
  text-decoration: none;
  color: gray;
  font-size: 0.18rem;
}
.BBB{
  margin-right: 0.1rem;
}
</style>
